package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.UserFollow;
import com.atguigu.vo.UserFollowVo;
import com.github.pagehelper.PageInfo;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/9/24 11:29
 * @Version 1.0
 */
public interface UserFollowService extends BaseService<UserFollow> {

    Boolean isFollowed(Long houseId, Long userId);

    PageInfo<UserFollowVo> findListPage(Integer pageNum, Integer pageSize, Long userId);

    void cancelFollow(Long id);

}
